package com.fh.service.impl;

import com.fh.mapper.StockMapper;
import com.fh.model.ProductSku;
import com.fh.model.vo.ShoppingCartVO;
import com.fh.service.StockService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class StockServiceImpl implements StockService {


  @Resource
  private StockMapper stockMapper;


  @Override
  public ProductSku queryStoc(String skuId) {
    ProductSku productSku = stockMapper.selectByPrimaryKey(skuId);
    return productSku;
  }
}
